Skip to main content

openStacks

Type

function

Summary

Returns a list of the names of all open stacks.

Syntax

the openStacks
openStacks()

Description

Use the openStacks function to determine which stacks are open.

The list includes stacks that are part of the LiveCode development environment (such as the message box and menu bar).

The list also includes open stacks that cannot be seen because their visible property is set to false.

The order of the list is determined by the order of the windows on the screen. The frontmost window is first.

Examples

the openStacks
if it is not among the lines of the openStacks then open stack it

control structure: function

function: stacks, mainStacks

glossary: property, return

keyword: line

object: stack

property: name

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?